<?php
defined('IN_MAIN') or exit('Invalid Access!');

function verify_date($date){
 if(date("Y-m-d H:i:s", strtotime($date))==$date || date("Y-m-d", strtotime($date))==$date){
  return true;
 }
}
?>